package com.xju.subjectsystem.mapper;

import com.xju.subjectsystem.pojo.Student;
import com.xju.subjectsystem.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @className:
 * @package: com.xju.subjectsystem.mapper
 * @description: TODO : 
 * @author: Eiard
 * @date: 2024-12-16 17:01
 * @param: null

 */
@Mapper
public interface StudentMapper {
    int deleteByPrimaryKey(String sno);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(String sno);

    Student selectByTel(String tel);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    int updateAccountStatusByPrimaryKey(@Param("sno") String sno, @Param("account_status") int account_status);
}